- flash.each do |name, msg|
  = content_tag :div, msg, class: "text-center alert alert-#{name.to_s == notice ? 'success' : 'danger'}"